﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace BanXeTang
{
    public abstract class VisibleGameEntity : VisibleGameObject
    {
        public virtual bool Init(ContentManager Content, int n, string strResource)
        {
            return false;
        }

        public virtual VisibleGameEntity Clone()
        {
            return null;
        }
        public virtual Rectangle getBound()
        {
            Rectangle r = new Rectangle();
            return r;
        }
        public virtual bool CheckCollisions(VisibleGameEntity v)
        {
            return false;
        }
        public virtual bool CheckCollisions(MySprite ms)
        {
            return false;
        }
        public virtual bool QuayDauDich()
        {
            return false;
        }
        public virtual void UnDo()
        {
            return;
        }
        // mauMat: máu sẽ bị mất 
        public virtual void TrungDan( int mauMat)
        {
            return;
        }
        //kiểm tra còn máu hay không
        public virtual int CheckMau()
        {
            return 10;
        }
    }
}
